export default {
  after: (field, [target]) => `${field} 必须在${target} 之后`,
  alpha_dash: (field) => `${field} 只能够包含字母、数字、破折号、下划线`,
  alpha_num: (field) => `${field} 只能够包含字母、数字.`,
  alpha_spaces: (field) => `${field} 只能够包含字母、空格.`,
  alpha: (field) => `${field} 只能包含字母.`,
  before: (field, [target]) => `${field} 必须在 ${target} 之前.`,
  between: (field, [min, max]) => `${field} 必须在${min}与${max}之间.`,
  confirmed: (field, [confirmedField]) => `${field} 与 ${confirmedField} 不匹配.`,
  date_between: (field, [min, max]) => `${field} 必须在${min}和${max}之间.`,
  date_format: (field, [format]) => `${field} 格式必须为${format}.`,
  decimal: (field, [decimals] = ['*']) => `${field} 必须为数字且包含${decimals === '*' ? '' : decimals}位小数.`,
  digits: (field, [length]) => `${field} 必须是数字，且精确到${length}数.`,
  dimensions: (field, [width, height]) => `${field} 应为${width}x${height}像素.`,
  email: (field) => `${field} 必须是有效的邮箱.`,
  ext: (field) => `${field} 必须是有效的文件.`,
  image: (field) => `${field} 必须是图片.`,
  in: (field) => `${field} 必须是一个有效值.`,
  ip: (field) => `${field} 必须是一个有效的地址.`,
  max: (field, [length]) => `${field} 不能多于${length}个字符.`,
  mimes: (field) => `${field} 必须是有效的文件类型.`,
  min: (field, [length]) => `${field} 不能少于${length}个字符.`,
  not_in: (field) => `${field} 必须是一个有效值.`,
  numeric: (field) => `${field} 只能包含数字个字符.`,
  regex: (field) => `${field} 格式不正确.`,
  required: (field) => ` ${field} 为必填项.`,
  size: (field, [size]) => `${field} 必须小于${size}KB.`,
  url: (field) => `${field} 不是有效的url.`,
  remote: (field) => `${field} 已存在.`,
  unique: (field) => `${field} 必须唯一.`
}
